from sanic import Blueprint
from sanic.response import json

login = Blueprint("index", url_prefix="/login")

# /api/login
@login.route("/")
async def bp_root(request):
    return json({"msg": "hi login.py"})